package util;

/**
 * @author caosinuo
 * @date 2019/5/22 10:15
 */
public class IdentifyCodeUtil {
   public static String getRandom() {
      StringBuilder stringBuilder = new StringBuilder();
      for (int i = 0; i < 6; i++) {
         stringBuilder.append(String.valueOf((int) Math.floor(Math.random() * 9 + 1)));
      }
      return stringBuilder.toString();
   }
}
